package com.indexingsystem.system.service.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.PermissionMapper;
import com.indexingsystem.system.service.PermissionService;
import com.indexingsystem.system.web.model.Permission;


/**
 * 权限Service实现类
 */
@Service
public class PermissionServiceImpl implements PermissionService
{

    @Resource
    private PermissionMapper permissionMapper;

    @Override
    public List<Permission> selectPermissionsByRoleId(Long roleId)
    {
        return permissionMapper.selectPermissionsByRoleId(roleId);
    }
}